using System;
using System.Collections.Generic;
using System.Text;

namespace Payroll
{
    public class DeleteEmployeeTransaction:Transaction
    {
        private int itsEmpid;

        public DeleteEmployeeTransaction(int empid)
        {
            itsEmpid = empid;
        }

        public void Execute()
        {
            PayrollDatabase.Default.DeleteEmployee(itsEmpid);
        }

    }
}
